package com.javatiaocao.myblog.service;

import com.javatiaocao.myblog.model.LeaveMessage;
import com.javatiaocao.myblog.utils.DataMap;
import org.springframework.security.core.userdetails.UserDetails;

public interface LeaveWordService {
    DataMap newLeaveWord(Integer rows, Integer pageNum);

    DataMap getPageLeaveMessage(String pageName);

    DataMap publishLeaveMessage(LeaveMessage leaveMessage, String parentId, String respondent, UserDetails userDetails);
}
